import { Service } from "egg";

/**
 * Test Service
 */
export default class githubService extends Service {
  
  public async getFollowers(page: string, size:string) {
    var res = await this.ctx.curl(`https://api.github.com/users/tj/followers?page=${page}&per_page=${size}`)
    
    return res.data;
  }
}
